import React from 'react';
import { createRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import '@/assets/styles/common.scss';
import '@/index.css';
import App from './App.jsx';
// Routes和Route直接配置方式

const root = createRoot(document.getElementById('app') as HTMLElement);
root.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>
);
